package com.honeymoondesert.util;

public class TranslateUrl {
	private static String baseUrl="http://www.dianping.com";
	
	public static String getUrl(String url){
		if(url.startsWith("/")||url.startsWith("./")){
			if(url.startsWith("./")){
				url.substring(1);
			}
			url=baseUrl.concat(url);
		}
			
			
		return url;
	}
	
}
